
"""
This is a way to save the startup time when running img2py on lots of
files...
"""

import sys
from wx.tools import img2py


command_lines = [
    "-a -F -n SplashScreen Bitmaps/splashScreen.png                           images.py",

    "-a -F -n Btn_Folders Bitmaps/btn_Folders.png                             images.py",
    "-a -F -n Btn_Supports Bitmaps/btn_Supports.png                           images.py",

    "-a -F -n Drive Bitmaps/tab_Drive.png                                     images.py",
    "-a -F -n Language Bitmaps/tab_Language.png                               images.py",

    "-a -F -n Flag_English Bitmaps/flag_English.png                           images.py",
    "-a -F -n Flag_French Bitmaps/flag_French.png                             images.py",

    "-a -F -n DirCtrl_cdrom Bitmaps/dirCtrl_cdrom.png                         images.py",
    "-a -F -n DirCtrl_floppy Bitmaps/dirCtrl_floppy.png                       images.py",
    "-a -F -n DirCtrl_folder Bitmaps/dirCtrl_folder.png                       images.py",
    "-a -F -n DirCtrl_folder_open Bitmaps/dirCtrl_folder_open.png             images.py",
    "-a -F -n DirCtrl_hdd Bitmaps/dirCtrl_hdd.png                             images.py",
    "-a -F -n DirCtrl_root Bitmaps/dirCtrl_root.png                           images.py",
    

    "-a -F -i -n Icon_App Icons/icon_App.ico images.py",
    "-a -F -i -n Icon_wxWidgets Icons/icon_wxWidgets.ico images.py",
    "-a -F -i -n Printing Icons/printing.ico images.py",
    

    "-a -F -n Calendar Bitmaps/calendar.png                                   images.py",
    "-a -F -n Copyright_Header Bitmaps/copyright_Header.png                   images.py",
    "-a -F -n Icon_App Bitmaps/icon_App.png                                   images.py",
    "-a -F -n Icons Bitmaps/icons.png                                         images.py",


    "-a -F -n Item_About Bitmaps/item_About.png                               images.py",
    "-a -F -n Item_Delete Bitmaps/item_Delete.png                             images.py",
    "-a -F -n Item_Empty Bitmaps/item_Empty.png                               images.py",
    "-a -F -n Item_English Bitmaps/item_English.png                           images.py",
    "-a -F -n Item_Print Bitmaps/item_Print.png                               images.py",
    "-a -F -n Item_Exit Bitmaps/item_Exit.png                                 images.py",
    "-a -F -n Item_French Bitmaps/item_French.png                             images.py",
    "-a -F -n Item_Help Bitmaps/item_Help.png                                 images.py",
    "-a -F -n Item_Note Bitmaps/item_Note.png                                 images.py",
    "-a -F -n Item_Preferences Bitmaps/item_Preferences.png                   images.py",
    "-a -F -n Item_PyCrust Bitmaps/item_PyCrust.png                           images.py",
    "-a -F -n Item_RollUp Bitmaps/item_RollUp.png                             images.py",
    "-a -F -n Item_Save Bitmaps/item_Save.png                                 images.py",
    "-a -F -n Item_Search Bitmaps/item_Search.png                             images.py",
    "-a -F -n Item_Unroll Bitmaps/item_Unroll.png                             images.py",
    "-a -F -n Item_wxWidgets Bitmaps/item_wxWidgets.png                       images.py",


    "-a -F -n ListCtrl_Cd_Icon Bitmaps/listCtrl_Cd_Icon.png                   images.py",
    "-a -F -n ListCtrl_Folder_Icon Bitmaps/listCtrl_Folder_Icon.png           images.py",


    "-a -F -n Logo_About Bitmaps/logo_About.png                               images.py",
    "-a -F -n Logo_Delete Bitmaps/logo_Delete.png                             images.py",
    "-a -F -n Logo_Information Bitmaps/logo_Information.png                   images.py",
    "-a -F -n Logo_Jacket Bitmaps/logo_Jacket.png                             images.py",
    "-a -F -n Logo_Notes Bitmaps/logo_Notes.png                               images.py",
    "-a -F -n Logo_Warning Bitmaps/logo_Warning.png                           images.py",

    "-a -F -n Logo Bitmaps/logo.png                                           images.py",
    
    "   -F -c bmp_source/001.png throbImages.py",
    "-a -F -c bmp_source/002.png throbImages.py",
    "-a -F -c bmp_source/003.png throbImages.py",
    "-a -F -c bmp_source/004.png throbImages.py",
    "-a -F -c bmp_source/005.png throbImages.py",
    "-a -F -c bmp_source/006.png throbImages.py",
    "-a -F -c bmp_source/007.png throbImages.py",
    "-a -F -c bmp_source/008.png throbImages.py",
    "-a -F -c bmp_source/009.png throbImages.py",
    "-a -F -c bmp_source/010.png throbImages.py",
    "-a -F -c bmp_source/011.png throbImages.py",
    "-a -F -c bmp_source/012.png throbImages.py",
    "-a -F -c bmp_source/013.png throbImages.py",
    "-a -F -c bmp_source/014.png throbImages.py",
    "-a -F -c bmp_source/015.png throbImages.py",
    "-a -F -c bmp_source/016.png throbImages.py",
    "-a -F -c bmp_source/017.png throbImages.py",
    "-a -F -c bmp_source/018.png throbImages.py",
    "-a -F -c bmp_source/019.png throbImages.py",
    "-a -F -c bmp_source/020.png throbImages.py",
    "-a -F -c bmp_source/021.png throbImages.py",
    "-a -F -c bmp_source/022.png throbImages.py",
    "-a -F -c bmp_source/023.png throbImages.py",
    "-a -F -c bmp_source/024.png throbImages.py",
    "-a -F -c bmp_source/025.png throbImages.py",
    "-a -F -c bmp_source/026.png throbImages.py",
    "-a -F -c bmp_source/027.png throbImages.py",
    "-a -F -c bmp_source/028.png throbImages.py",
    "-a -F -c bmp_source/029.png throbImages.py",
    "-a -F -c bmp_source/030.png throbImages.py",
    ]


if __name__ == "__main__":
    for line in command_lines:
        args = line.split()
        img2py.main(args)

